package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.math.BigInteger;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 t_user_info
 *
 * @author ruoyi
 * @date 2024-06-10
 */
public class TUserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户表id */
    private Long id;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userNick;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String userEmail;

    /** 支付密码 */
    @Excel(name = "支付密码")
    private String payWord;

    /** 钱 */
    @Excel(name = "钱")
    private BigDecimal money;

    /** 邮箱密码 */
    @Excel(name = "邮箱密码")
    private String emailWord;

    /** 手机登录密码 */
    @Excel(name = "手机登录密码")
    private String phoneWord;

    /** 苹果机唯一编号 */
    @Excel(name = "苹果机唯一编号")
    private String appId;

    /** 用户状态0-正常；1-金庸 */
    @Excel(name = "用户状态0-正常；1-金庸")
    private Integer userStatus;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long version;

    /** 缴纳保证金金额 */
    @Excel(name = "缴纳保证金金额")
    private Long bailMoney;

    /** 当前账户语言类型编码 */
    @Excel(name = "当前账户语言类型编码")
    private String langCode;

    /** 会员id */
    @Excel(name = "会员id")
    private Long vipId;

    /** 任务接取数量 */
    @Excel(name = "任务接取数量")
    private Long accessNum;

    /** 任务接取更新时间 */
    @Excel(name = "任务接取更新时间")
    private String accessTime;

    /** 累计收益 */
    @Excel(name = "累计收益")
    private BigDecimal earnings;

    /** 父类id */
    @Excel(name = "父类id")
    private Long parentId;

    /** 用户唯一邀请码 */
    @Excel(name = "用户唯一邀请码")
    private String userCode;


    public String getUserCode() {
        return userCode;
    }

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 冻结金额 */
    @Excel(name = "冻结金额")
    private BigDecimal freezMoney;

    /** 转盘次数 */
    @Excel(name = "转盘次数")
    private Integer turntableNum;
    /** 转盘次数 */
    @Excel(name = "第一次任务 0-未完成；1-完成")
    private Integer fistTask;
    /** 转盘次数 */
    @Excel(name = "第一次提现0-未完成；1-完成")
    private Integer fistDraw;
    /** 转盘次数 */
    @Excel(name = "第一次邀请0-未完成；1-完成")
    private Integer fisAsk;


    public Integer getFistTask() {
        return fistTask;
    }

    public void setFistTask(Integer fistTask) {
        this.fistTask = fistTask;
    }

    public Integer getFistDraw() {
        return fistDraw;
    }

    public void setFistDraw(Integer fistDraw) {
        this.fistDraw = fistDraw;
    }

    public Integer getFisAsk() {
        return fisAsk;
    }

    public void setFisAsk(Integer fisAsk) {
        this.fisAsk = fisAsk;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserNick(String userNick)
    {
        this.userNick = userNick;
    }

    public String getUserNick()
    {
        return userNick;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setUserEmail(String userEmail)
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail()
    {
        return userEmail;
    }
    public void setPayWord(String payWord)
    {
        this.payWord = payWord;
    }

    public String getPayWord()
    {
        return payWord;
    }
    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }
    public void setEmailWord(String emailWord)
    {
        this.emailWord = emailWord;
    }

    public String getEmailWord()
    {
        return emailWord;
    }
    public void setPhoneWord(String phoneWord)
    {
        this.phoneWord = phoneWord;
    }

    public String getPhoneWord()
    {
        return phoneWord;
    }
    public void setAppId(String appId)
    {
        this.appId = appId;
    }

    public String getAppId()
    {
        return appId;
    }
    public void setUserStatus(Integer userStatus)
    {
        this.userStatus = userStatus;
    }

    public Integer getUserStatus()
    {
        return userStatus;
    }
    public void setVersion(Long version)
    {
        this.version = version;
    }

    public Long getVersion()
    {
        return version;
    }
    public void setBailMoney(Long bailMoney)
    {
        this.bailMoney = bailMoney;
    }

    public Long getBailMoney()
    {
        return bailMoney;
    }
    public void setLangCode(String langCode)
    {
        this.langCode = langCode;
    }

    public String getLangCode()
    {
        return langCode;
    }
    public void setVipId(Long vipId)
    {
        this.vipId = vipId;
    }

    public Long getVipId()
    {
        return vipId;
    }
    public void setAccessNum(Long accessNum)
    {
        this.accessNum = accessNum;
    }

    public Long getAccessNum()
    {
        return accessNum;
    }
    public void setAccessTime(String accessTime)
    {
        this.accessTime = accessTime;
    }

    public String getAccessTime()
    {
        return accessTime;
    }
    public void setEarnings(BigDecimal earnings)
    {
        this.earnings = earnings;
    }

    public BigDecimal getEarnings()
    {
        return earnings;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }
    public void setUserCode(String userCode)
    {
        this.userCode = userCode;
    }


    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public String getAvatar()
    {
        return avatar;
    }
    public void setFreezMoney(BigDecimal freezMoney)
    {
        this.freezMoney = freezMoney;
    }

    public BigDecimal getFreezMoney()
    {
        return freezMoney;
    }
    public void setTurntableNum(Integer turntableNum)
    {
        this.turntableNum = turntableNum;
    }

    public Integer getTurntableNum()
    {
        return this.turntableNum ;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userNick", getUserNick())
            .append("phone", getPhone())
            .append("userEmail", getUserEmail())
            .append("payWord", getPayWord())
            .append("money", getMoney())
            .append("emailWord", getEmailWord())
            .append("phoneWord", getPhoneWord())
            .append("appId", getAppId())
            .append("userStatus", getUserStatus())
            .append("version", getVersion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("bailMoney", getBailMoney())
            .append("langCode", getLangCode())
            .append("vipId", getVipId())
            .append("accessNum", getAccessNum())
            .append("accessTime", getAccessTime())
            .append("earnings", getEarnings())
            .append("parentId", getParentId())
            .append("userCode", getUserCode())
            .append("avatar", getAvatar())
            .append("freezMoney", getFreezMoney())
            .append("turntableNum", getTurntableNum())
            .toString();
    }
}
